package tech.lq0.dreamaticvoyage.item.fukamizutech.material;

import net.minecraft.ChatFormatting;
import net.minecraft.network.chat.Component;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.item.Rarity;
import net.minecraft.world.item.SmithingTemplateItem;

import java.util.List;

public class UmisuUpgradeSmithingTemplate extends SmithingTemplateItem {

    public UmisuUpgradeSmithingTemplate() {
        super(Component.translatable("item.dreamaticvoyage.smithing_template.umisu_upgrade.applies_to").withStyle(ChatFormatting.BLUE),
                Component.translatable("item.dreamaticvoyage.smithing_template.umisu_upgrade.ingredients").withStyle(ChatFormatting.BLUE),
                Component.translatable("upgrade.dreamaticvoyage.umisu_upgrade").withStyle(ChatFormatting.GRAY),
                Component.translatable("item.dreamaticvoyage.smithing_template.umisu_upgrade.base_slot_description"),
                Component.translatable("item.dreamaticvoyage.smithing_template.umisu_upgrade.addition_slot_description"),
                List.of(new ResourceLocation("item/empty_armor_slot_helmet")), List.of(new ResourceLocation("item/empty_slot_diamond")));
    }

    @Override
    public boolean isFireResistant() {
        return true;
    }

    @Override
    public Rarity getRarity(ItemStack pStack) {
        return Rarity.EPIC;
    }
}
